Configure ZK Pivottable JSP Tag

From Documentation
Configure ZK Pivottable JSP Tag



Before using pivottable in your JSP pages, you would need to download a few library jars, and make some configuration changes to your project.

Downloads

Configuration

  1. Configure your JSP web application to use ZK Framework, ZK Pivottable, ZK JSP Tags Library
    • copy the binaries into WEB-INF/lib - OR -
    • copy the binaries into the shared library folder of your web server - OR -
    • copy the binaries into one of the folders pointed to by your web application's classpath
  2. Add DHtmlUpdateServlet and its mapping into web.xml as shown below
    <servlet>
        <description>The asynchronous update engine for ZK</description>
        <servlet-name>auEngine</servlet-name>
        <servlet-class>org.zkoss.zk.au.http.DHtmlUpdateServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>auEngine</servlet-name>
        <url-pattern>/zkau/*</url-pattern>
    </servlet-mapping>

Sample Application

Please goto github for the complete source code of the sample application.

To build the sample war file, please enter mvn war:war at project root.

Last update: 2013/07/1



Last Update : 2013/07/01

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.